import * as TYPES from '../../actions/actionTypes'
const initialState = {
    loding:true,
    data:null
}

export default function ChecksDetail(state = initialState,action) {
    switch (action.type) {
        case TYPES.INVERTORY_DETAIL_INITIAL:
        return{
            ...state,
            loding:false,
            data:action.data
        }
        default:
        return state
    }
}